package org.csu.laboratoryequipment.service;

import org.csu.laboratoryequipment.common.CommonResponse;
import org.csu.laboratoryequipment.entity.History;
import org.csu.laboratoryequipment.entity.Searchrecord;

import java.util.Date;
import java.util.List;

public interface SearchrecordService {
    public CommonResponse<List<Searchrecord>> getAllKeyword();


    //根据search_num字段降序输出searchRecord表
    public CommonResponse<List<Searchrecord>> getRank();

    //给定时间范围查询searchRecord表
    public CommonResponse<List<Searchrecord>> getKeywordByTime(Date startTime,Date endTime);

    //输出searchRecord表,即直接按照表内顺序（即时间顺序输出searchRecord表）
    public CommonResponse<List<Searchrecord>> getKeyword();
}
